const path = require("path");

module.exports = {
  entry: "./index.js",
  output: {
    path: path.resolve(__dirname, "dist"),
    filename: "index.js",
    library: {
      name: "build-script-chenyu",
      type: "commonjs", //
    },
  },
  mode: "production",
  target: "node", // 指定目标环境为 Node.js
};
